package com.xinzi.apartment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinzi.apartment.common.exception.InvalidParamException;
import com.xinzi.apartment.entity.StuInfoEntity;
import com.xinzi.apartment.vo.StuDistributionVo;
import com.xinzi.apartment.common.exception.NoEnoughDormitoryException;
import com.xinzi.apartment.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author xinzi
 * @email 1228604898@qq.com
 * @date 2021-10-04 17:16:18
 */
public interface StuInfoService extends IService<StuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryNotDistribute(Map<String, Object> params);

    List<StuDistributionVo> autoDistribute(Integer[] ids) throws NoEnoughDormitoryException, InvalidParamException;

}

